package com.ruoyi.db.domain.web;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 【用户收支明细】对象 mp_income_record
 * 
 * @author ruoyi
 * @date 2022-07-26
 */
@ApiModel(value = "MpIncomeRecord",description = "【用户收支明细】对象 mp_income_record")
public class MpIncomeRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收支明细表主键 */
    private Long id;

    /** 金额 */
    @ApiModelProperty(value="金额",name="MpIncomeRecord$amount")
    @Excel(name = "金额")
    private BigDecimal amount;

    /** 1收入，0支出 */
    @ApiModelProperty(value="1收入，0支出",name="MpIncomeRecord$isIncome")
    @Excel(name = "1收入，0支出")
    private Long isIncome;

    /** 类型 */
    @ApiModelProperty(value="类型",name="MpIncomeRecord$type")
    @Excel(name = "类型")
    private Long type;

    /** 用户ID */
    @ApiModelProperty(value="用户ID",name="MpIncomeRecord$clientId")
    @Excel(name = "用户ID")
    private Long clientId;

    /** 内容详情 */
    @ApiModelProperty(value="内容详情",name="MpIncomeRecord$content")
    @Excel(name = "内容详情")
    private String content;

    public BigDecimal getCurrentBalance() {
        return currentBalance;
    }

    public void setCurrentBalance(BigDecimal currentBalance) {
        this.currentBalance = currentBalance;
    }

    /** 内容详情 */
    @ApiModelProperty(value="当前余额",name="MpIncomeRecord$currentBalance")
    @Excel(name = "当前余额")
    private BigDecimal currentBalance;
    private String clientName;

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getClientMobile() {
        return clientMobile;
    }

    public void setClientMobile(String clientMobile) {
        this.clientMobile = clientMobile;
    }

    public String getTeamLevel() {
        return teamLevel;
    }

    public void setTeamLevel(String teamLevel) {
        this.teamLevel = teamLevel;
    }

    private String clientMobile;
    private String teamLevel;
    private String remark;

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    private String startTime;
    private String endTime;
    private Integer isVirtual;

    public Integer getIsVirtual() {
        return isVirtual;
    }

    public void setIsVirtual(Integer isVirtual) {
        this.isVirtual = isVirtual;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setIsIncome(Long isIncome) 
    {
        this.isIncome = isIncome;
    }

    public Long getIsIncome() 
    {
        return isIncome;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setClientId(Long clientId) 
    {
        this.clientId = clientId;
    }

    public Long getClientId() 
    {
        return clientId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("amount", getAmount())
            .append("isIncome", getIsIncome())
            .append("type", getType())
            .append("createTime", getCreateTime())
            .append("clientId", getClientId())
            .append("content", getContent())
            .toString();
    }
}
